import React, {useContext} from 'react';
import globalContext from "../context";

function A(props) {
    const {userName,age} = useContext(globalContext)
    return (
        <div>
            A
            {userName}
            {age}
        </div>
    );
}

export default A;